package com.example.back.common;


import org.springframework.stereotype.Service;

import java.io.IOException;

@Service
public class DeepSeekService {

    private final DeepSeekClient deepSeekClient;
    public DeepSeekService(DeepSeekClient deepSeekClient) {
        this.deepSeekClient = deepSeekClient;
    }
    public String getAiResponse(String question) throws IOException {
        return deepSeekClient.reply(question);
    }
}